package com.hinner.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息表：驼峰命名转下划线。实体类用驼峰，表字段用下划线
 */
@TableName("sys_role")
@Data
public class SysRole extends BaseEntity implements Serializable{


    @TableField(value = "name")
    private String name;
    @TableField(value = "code")
    private String code;

}
